BINARY = out

OBJECTS = adler32.o crc32.o infback.o inffast.o inflate.o inftrees.o\
	ioapi.o uncompr.o unzip.o zlibFileMemory.o zlibInterface.o\
	zutil.o


all: $(BINARY)

$(BINARY): $(OBJECTS)
	psp-ar cru libz.a $(OBJECTS)


%.o : %.c
	psp-gcc -O2 -G0 -Wall -c $< -o $@

clean:
	-rm -f $(OBJECTS) *.map *.a
